package cn.iocoder.yudao.module.ems.dal.mysql.supplier;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.module.ems.dal.dataobject.spares.ContactDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 入库记录 Mapper
 *
 * @author dason
 */
@Mapper
public interface ContactMapper extends BaseMapperX<ContactDO> {

    default List<ContactDO> selectList(Long SupplierId) {
        return selectList(new LambdaQueryWrapperX<ContactDO>()
                .eqIfPresent(ContactDO::getSupplierId, SupplierId));
    }

}
